#include "Stack.h"

void Stack::Push(int left, int right)
{
	node a;
	a.left = left;
	a.right = right;		
	push(a);		
}

void Stack::Top(int& left, int& right)
{
	node a = top();
	left = a.left;
	right = a.right;	
}
